package com.itheima.stock.exception;

import com.itheima.stock.enums.Code;

/**
 * @author zxh
 * @created 2024-11-1 12:45:31
 * @description 异常工具类
 */
public class Exceptions {
    public static void cast(Code code){
        throw new StockException(code);
    }

    private Exceptions(){}
}
